package www.ym.com.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class Department implements Serializable {
    private static final long serialVersionUID = 1L;

    private Long id;

    // 角色名称
    private String departmentName;

    //状态  0：有效 1：无效
    private Integer status;

    //角色描述
    private String description;

    @TableField(fill = FieldFill.INSERT)
    public LocalDateTime createTime;


    @TableField(fill = FieldFill.INSERT_UPDATE)
    public LocalDateTime updateTime;

}
